# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Header: $

EAPI="2"
EGIT_REPO_URI="git://git.gnome.org/mutter"
inherit git gnome2

DESCRIPTION="Window and compositing manager based on Clutter"
HOMEPAGE="http://live.gnome.org/Mutter"
SRC_URI=""

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
		dev-util/pkgconfig
		dev-util/git
		media-libs/clutter
		x11-wm/metacity"

src_unpack() {
	git_src_unpack
}

src_prepare() {
	./autogen.sh || die "autogen.sh failed"
	#intltoolize --copy --force || die "intltoolize failed"
	#eautoreconf || die "eautoreconf failed"
}

src_configure() {
	econf || die "econf failed"
}

src_compile() {
	emake || die "emake failed"
}


pkg_postinst () {
	gnome2_pkg_postinst
}

